#include "ti_msp_dl_config.h"

uint8_t Sensor_mul_status (void)
{
    uint8_t Mulvalue;
    uint8_t Mulvalue_1,Mulvalue_2,Mulvalue_3,Mulvalue_4,Mulvalue_5,Mulvalue_6,Mulvalue_7,Mulvalue_8;
    Mulvalue_1 = DL_GPIO_readPins(Sensor_PORT, Sensor_PIN_0_PIN) ? 1 : 0;
    Mulvalue_8 = DL_GPIO_readPins(Sensor_PORT, Sensor_PIN_1_PIN) ? 1 : 0;
    Mulvalue_2 = DL_GPIO_readPins(Sensor_PORT, Sensor_PIN_2_PIN) ? 1 : 0;
    Mulvalue_3 = DL_GPIO_readPins(Sensor_PORT, Sensor_PIN_3_PIN) ? 1 : 0;
    Mulvalue_4 = DL_GPIO_readPins(Sensor_PORT, Sensor_PIN_4_PIN) ? 1 : 0;
    Mulvalue_5 = DL_GPIO_readPins(Sensor_PORT, Sensor_PIN_5_PIN) ? 1 : 0;
    Mulvalue_6 = DL_GPIO_readPins(Sensor_PORT, Sensor_PIN_6_PIN) ? 1 : 0;
    Mulvalue_7 = DL_GPIO_readPins(Sensor_PORT, Sensor_PIN_7_PIN) ? 1 : 0;
    Mulvalue = Mulvalue_1&Mulvalue_2&Mulvalue_3&Mulvalue_4&Mulvalue_5&Mulvalue_6&Mulvalue_7&Mulvalue_8;

    return Mulvalue;
}
